package com.tianji.learning.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

@Data
@ApiModel(description = "学习笔记表单实体")
public class LearningNoteFromDTO {
    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("课程id")
    private Long courseId;
    @ApiModelProperty("章id")
    private Long chapterId;
    @ApiModelProperty("小节id")
    private Long sectionId;
    @ApiModelProperty("视频播放进度")
    private Long videoTime;
    @ApiModelProperty("笔记内容")
    private String content;
    @ApiModelProperty("点赞数量")
    private Long likeCount;
    @ApiModelProperty("是否私密,0非私密,1私密")
    private Boolean isPrivate;
    @ApiModelProperty("是否有采集,0非采集,1采集")
    private Boolean isCollect;
    @ApiModelProperty("引用人id")
    private Long targetId;
    @ApiModelProperty("引用次数")
    private Long collectCount;
    @ApiModelProperty("管理端是否隐藏 0 非隐藏, 1隐藏")
    private Boolean adminPrivate;
    @ApiModelProperty("提问时间")
    private LocalDateTime createTime;
    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;
}
